<template>
  <div class="search">
    <div class="search-container">
      <div class="logo">
        <img src="../../assets/img/logo.png" />
        <img src="../../assets/img/title.png"/>
      </div>
      <div class="input">
        <div class="left">
        <span class="huoyuan">货源</span><img src="../../assets/img/icon.png"/>
        </div>
        <input type="text" placeholder="在千万商品寻找真爱" style="font-size: 14px;color: #464646">
        <span class="iconsearch"><img src="../../assets/img/search.png" style="margin-top: 4px;"/></span>
      </div>
    </div>
  </div>
</template>

<script>
    export default {
      name: 'search'
    }
</script>
<style scoped>
  .logo img{
    height: 24px;
  }
  .logo{
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .search{
    width: 100%;
    height: 130px;
    background: #2b3040;
  }
  .search-container{
    height:46px;
    padding: 42px 0;
    width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    background: #2b3040;
    justify-content: space-between;
  }
  .input{
    width: 554px;
    background: #fff;
    height: 46px;
    display: flex;
    flex-direction: row;
    background:#2b3040 ;
  }
  .huoyuan{
    font-size: 14px;
    color: #2b3040;
    font-family: "Microsoft YaHei";
  }
  .input>.left{
    width: 16%;
    line-height: 46px;
    padding-left: 20px;
    font-size: 14px;
    color: #2b4030;
    border-right: 1px solid #494e5e;
    display: flex;
    font-family: "Microsoft YaHei";
    flex-direction: row;
    align-items: center;
    background-color: #fff;
    -moz-border-radius-topleft: 22px;
    border-top-left-radius: 22px;
    border-bottom-left-radius: 22px;

  }
  .left>img{
    margin-left: 10px;
  }
  .logo>img{
    margin-right: 16px;
  }
  .input .iconsearch{
    background: #3F4457;
    width: 22%;
    height: 100%;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 22px;
    box-shadow: 0px 0px 2px -1px #fff inset;
    text-align: center;
  }
  .iconsearch>img{
    margin-top: 4px;
  }
  input{
    width: 62%;
    border: none;
    text-indent: 10px;
    color: #eaedf7;

  }
  ::-webkit-input-placeholder { /* WebKit browsers */
    color:    #cecece;
  }
  :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:   #cecece;
  }
  ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:  #cecece;
  }
  :-ms-input-placeholder { /* Internet Explorer 10+ */
    color:  #cecece;
  }
</style>
